package com.xinqi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author xin麒
 * @date 2023/6/25 9:08
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("blog_like")
public class Blog implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
//    @TableField(value = "user_id")
    private Long userId;

    /**
     * 标题
     */
    private String title;

//    @TableField(value = "like_list")
    private String likeList;
//    @TableField(value = "like_number")
    private int likeNumber;

    /**
     * 探店的文字描述
     */
    private String content;

    /**
     * 创建时间
     */
//    @TableField(value = "create_time")
    private LocalDateTime createTime;


    /**
     * 更新时间
     */
//    @TableField(value = "update_time")
    private LocalDateTime updateTime;


}

